package com.yyz.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yyz.domain.Orders;
import com.yyz.dto.OrdersDto;

import java.time.LocalDate;

/**
 * @author yyz
 * @create 2023-07-27 16:37
 */
public interface OrdersService {
    void submit(Orders orders);

    IPage<OrdersDto> list(Integer page, Integer pageSize);

    IPage<OrdersDto> pageList(Integer page, Integer pageSize, Long number, LocalDate begin, LocalDate end);

    void status(Orders orders);
}
